package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._03装饰模式._2穿衣;

/**
 * @ClassName Test
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/10 1:24 PM
 * @Version 1.0
 */
public class Test {
    public static void main(String[] args) {
        Person xc = new Person("小菜");

        System.out.println(" 第一种装扮：");
        Finery dtx = new TShirts();
        Finery kk = new BigTrouser();
        Finery pqx = new Sneakers();

        dtx.show();
        kk.show();
        pqx.show();
        xc.show();

        System.out.println(" 第二种装扮：");
        Finery xz = new Suit();
        Finery ld = new Tie();
        Finery px = new LeatherShoes();

        xz.show();
        ld.show();
        px.show();
        xc.show();

    }
}
